<volist name="items_list" id="val">
<div class="item mt15 masonry_brick">
    <div class="item_t">
        <div class="img tc">
            <a target="_blank" href="{:u('item/index',array('id'=>$val['id']))}" hidefocus="true" rel="nofollow">
				<img alt="{$val.title}" url="{:base64_encode($val['img'])}" style="display:inline;" class="encode_url">
			</a>
            <div class="btns">
                <a href="javascript:;" class="img_like_btn" iid="{$val.id}" iurl="{:u('item/index',array('id'=>$val['id']))}">
				<em></em>喜欢
                </a>
                <a href="{:u('item/index',array('id'=>$val['id']))}#items_comments" class="img_comment_btn" target="_blank">
				<em></em>评论
                </a>
                <a href="javascript:;" class="img_album_btn" iid="4464">
                    <em>
                    </em>
                    加入专辑
                </a>
            </div>
            <div class="price">
                ¥{$val.price}
            </div>
        </div>
        <div class="title">
            <span>
                <a href="{:u('item/index',array('id'=>$val['id']))}">
                    {$val.title}
                </a>
            </span>
        </div>
    </div>
    <present name="val['user']">
    <div class="item_b clearfix">
        <div class="items_site fl">
            来自
            <a href="{:u('uc/index',array('uid'=>$val['user']['id']))}">
               @{$val.user.name}
            </a>
            分享
        </div>
        <div class="items_likes fr">
            <a href="javascript:;" class="like_btn" iid="{$val.id}" iurl="{:u('item/index',array('id'=>$val['id']))}">
            </a>
            <em class="red bold" id="like_num_4464">
				{$val.likes}
            </em>
        </div>
    </div>
    </present>
    <present name="val['comments_list']">
    <div class="clearfix comments">
        <volist name="val['comments_list']" id="comment">
        <div class="clearfix citem">
            <div class="left">
                <img src="{:uimg($comment['img'])}" width="32" height="32" />
            </div>
            <div class="left r2">
                {$comment.name} 说：{$comment.info|mb_substr=0,50,'utf-8'}
            </div>
        </div>
        </volist>
    </div>
    </present>
</div>
</volist>